<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Bibliotheque:  Fichier source de BdBibliotheque.h</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Généré par Doxygen 1.5.5 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Page&nbsp;principale</span></a></li>
      <li><a href="classes.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;Rechercher&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
    </ul>
  </div>
<h1>BdBibliotheque.h</h1><a href="BdBibliotheque_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/***************************************************************************</span>
<a name="l00002"></a>00002 <span class="comment"> *   Copyright (C) 2008 by beltegeuse   *</span>
<a name="l00003"></a>00003 <span class="comment"> *   beltegeuse@kubuntu-acer   *</span>
<a name="l00004"></a>00004 <span class="comment"> *                                                                         *</span>
<a name="l00005"></a>00005 <span class="comment"> *   This program is free software; you can redistribute it and/or modify  *</span>
<a name="l00006"></a>00006 <span class="comment"> *   it under the terms of the GNU General Public License as published by  *</span>
<a name="l00007"></a>00007 <span class="comment"> *   the Free Software Foundation; either version 2 of the License, or     *</span>
<a name="l00008"></a>00008 <span class="comment"> *   (at your option) any later version.                                   *</span>
<a name="l00009"></a>00009 <span class="comment"> *                                                                         *</span>
<a name="l00010"></a>00010 <span class="comment"> *   This program is distributed in the hope that it will be useful,       *</span>
<a name="l00011"></a>00011 <span class="comment"> *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *</span>
<a name="l00012"></a>00012 <span class="comment"> *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *</span>
<a name="l00013"></a>00013 <span class="comment"> *   GNU General Public License for more details.                          *</span>
<a name="l00014"></a>00014 <span class="comment"> *                                                                         *</span>
<a name="l00015"></a>00015 <span class="comment"> *   You should have received a copy of the GNU General Public License     *</span>
<a name="l00016"></a>00016 <span class="comment"> *   along with this program; if not, write to the                         *</span>
<a name="l00017"></a>00017 <span class="comment"> *   Free Software Foundation, Inc.,                                       *</span>
<a name="l00018"></a>00018 <span class="comment"> *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *</span>
<a name="l00019"></a>00019 <span class="comment"> ***************************************************************************/</span>
<a name="l00020"></a>00020 <span class="preprocessor">#ifndef BDBIBLIOTHEQUE_CORE_H</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#define BDBIBLIOTHEQUE_CORE_H</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span>
<a name="l00023"></a>00023 <span class="preprocessor">#include &lt;QtCore/QObject&gt;</span>
<a name="l00024"></a>00024 
<a name="l00025"></a>00025 <span class="preprocessor">#include "<a class="code" href="BdTypeDef_8h.html">BdTypeDef.h</a>"</span>
<a name="l00026"></a>00026 
<a name="l00027"></a>00027 <span class="comment">//TODO: attention que l'on explose pas trop en memoire</span>
<a name="l00028"></a>00028 
<a name="l00029"></a>00029 <span class="keyword">class </span>QString;
<a name="l00030"></a>00030 
<a name="l00034"></a><a class="code" href="classBdBibliotheque.html">00034</a> <span class="keyword">class </span><a class="code" href="classBdBibliotheque.html" title="class pour representer une bibliotheque">BdBibliotheque</a>
<a name="l00035"></a>00035 {
<a name="l00036"></a>00036 <span class="keyword">public</span>:
<a name="l00037"></a>00037   <span class="comment">//Constructors &amp; Destructors</span>
<a name="l00042"></a>00042 <span class="comment"></span>  <a class="code" href="classBdBibliotheque.html#db4fe77838c68f5f559ccce1bff99f36" title="Constructeur pour creer une bibliotheque.">BdBibliotheque</a>(<span class="keywordtype">int</span> myId = 0);
<a name="l00043"></a>00043   
<a name="l00044"></a>00044   <span class="comment">//Assenecuser</span>
<a name="l00048"></a>00048 <span class="comment"></span>  <span class="keywordtype">int</span> <a class="code" href="classBdBibliotheque.html#cae631c60ee1fbebf3f8c934ee49a408">id</a>() <span class="keyword">const</span>;
<a name="l00049"></a>00049   
<a name="l00053"></a>00053   <span class="keywordtype">bool</span> <a class="code" href="classBdBibliotheque.html#1b40a1b4f30716cf6640b5e9e35b0a2b">isValid</a>() <span class="keyword">const</span>;
<a name="l00054"></a>00054   
<a name="l00059"></a>00059   <span class="keywordtype">void</span> <a class="code" href="classBdBibliotheque.html#407785cdc25e6f818a60acef49b7a982" title="Pour ajouter un auteur.">addAuteur</a>(<a class="code" href="classBdAuteur.html" title="class pour representer un auteur">BdAuteur</a>* myAuteur);
<a name="l00060"></a>00060   
<a name="l00065"></a>00065   <span class="keywordtype">void</span> <a class="code" href="classBdBibliotheque.html#b32aa256eb45e88e06cb8a272b6304f8" title="Pour ajouter un editeur.">addEditeur</a>(<a class="code" href="classBdEditeur.html" title="Class qui represente un editeur.">BdEditeur</a>* myEditeur);
<a name="l00066"></a>00066   
<a name="l00067"></a>00067 <span class="keyword">private</span>:
<a name="l00068"></a>00068   
<a name="l00069"></a>00069   <span class="comment">//Attributes</span>
<a name="l00073"></a><a class="code" href="classBdBibliotheque.html#cb4cfad2508fb43cd239be62a527efec">00073</a> <span class="comment"></span>  <a class="code" href="BdTypeDef_8h.html#2bd9d4c89d3f56a4b24dd13566247b62">BdLivreMap</a> <a class="code" href="classBdBibliotheque.html#cb4cfad2508fb43cd239be62a527efec" title="Les livres deja dans la bibliotheque.">mLivreMap</a>;
<a name="l00074"></a>00074   
<a name="l00078"></a><a class="code" href="classBdBibliotheque.html#dd1b1797eaae9e28ef02bd52699b62b3">00078</a>   <a class="code" href="BdTypeDef_8h.html#ed530955d7c372ab07c84ce8b3f831e5">BdLivreListe</a> <a class="code" href="classBdBibliotheque.html#dd1b1797eaae9e28ef02bd52699b62b3" title="Les livres qui vont être ajouter dans le bibliotheque.">mAddedLivres</a>;
<a name="l00079"></a>00079   
<a name="l00083"></a><a class="code" href="classBdBibliotheque.html#1b9869888d8c10014df983a9d86b534b">00083</a>   <a class="code" href="BdTypeDef_8h.html#c65774937349d3ee22dbf86c2340e63a">BdAuteurMap</a> <a class="code" href="classBdBibliotheque.html#1b9869888d8c10014df983a9d86b534b" title="Les auteurs dans la bibliotheque.">mAuteurs</a>;
<a name="l00084"></a>00084   
<a name="l00088"></a><a class="code" href="classBdBibliotheque.html#c03bf6f980957f35888fbb59493dbb5a">00088</a>   <a class="code" href="BdTypeDef_8h.html#8c11bd0c181e3a5d3b6f814ed3368430">BdEditeurMap</a> <a class="code" href="classBdBibliotheque.html#c03bf6f980957f35888fbb59493dbb5a" title="Les editeurs dans la bibliotheque.">mEditeurs</a>;
<a name="l00089"></a>00089   
<a name="l00090"></a><a class="code" href="classBdBibliotheque.html#72ecfb9229250762f0d802a773ca8fc1">00090</a>   <span class="keywordtype">int</span> <a class="code" href="classBdBibliotheque.html#72ecfb9229250762f0d802a773ca8fc1">mId</a>;
<a name="l00091"></a>00091 };
<a name="l00092"></a>00092 
<a name="l00093"></a>00093 
<a name="l00094"></a>00094 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Généré le Thu Jul 3 00:22:20 2008 pour Bibliotheque par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
</html>
